package com.cdfc.estatemanagement.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.cdfc.estatemanagement.dao.HouseMapper;

import com.cdfc.estatemanagement.domain.House;
import com.cdfc.estatemanagement.service.HouseService;
import com.github.pagehelper.Page;
import com.github.pagehelper.PageHelper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import tk.mybatis.mapper.entity.Example;
import tk.mybatis.mapper.util.StringUtil;

import java.util.List;
import java.util.Map;

/**
 * @author Win_Ethan
 */
@Service
public class HouseServiceImpl extends ServiceImpl<HouseMapper, House> implements HouseService {

    @Autowired
    private HouseMapper houseMapper;

    //



    // @Override
    // public House findById(Integer id) {
    //     return houseMapper.selectByPrimaryKey(id);
    // }
    //
    // @Override
    // public Boolean del(List<Integer> ids) {
    //     for (Integer id:ids) {
    //         houseMapper.deleteByPrimaryKey(id);
    //     }
    //     return true;
    // }


}
